module.exports = {
  pages: [
    {
      path: 'pages/index',
      config: {
        navigationBarTitleText: '卡卡伴旅',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-divider": "../static/wux/divider/index",
          "wux-button": "../static/wux/button/index",
          "wux-tag": "../static/wux/tag/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-actionsheet": "../static/wux/actionsheet/index",
          "wux-dialog": "../static/wux/dialog/index",
          "wux-landscape": "../static/wux/landscape/index"
        }
      }
    },
    {
      path: 'pages/travelDetail',
      config: {
        navigationBarTitleText: '游记详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-spin": "../static/wux/spin/index"
        }
      }
    },
    {
      path: 'pages/perfect',
      config: {
        navigationBarTitleText: '新人福利',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-toptips": "../static/wux/toptips/index",
          "wux-popup": "../static/wux/popup/index"
        }
      }
    },
    {
      path: 'pages/newPage',
      config: {
        navigationBarTitleText: '加载中...',
        navigationBarBackgroundColor: "#ffffff"
      }
    },
    {
      path: 'pages/memberDetail',
      config: {
        navigationBarTitleText: '卡卡会员',
        navigationBarBackgroundColor: "#ffffff",
        usingComponents: {
          "wux-result": "../static/wux/result/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-checkbox-group": "../static/wux/checkbox-group/index",
          "wux-checkbox": "../static/wux/checkbox/index"
        }
      }
    },
    {
      path: 'pages/memberManual',
      config: {
        navigationBarTitleText: '卡卡会员-隐私政策',
        navigationBarBackgroundColor: "#ffffff"
      }
    },
    {
      path: 'pages/center',
      config: {
        navigationBarTitleText: '个人中心',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-cell-group": "../static/wux/cell-group/index",
          "wux-cell": "../static/wux/cell/index",
          "wux-button": "../static/wux/button/index",
          "wux-toptips": "../static/wux/toptips/index"
        }
      }
    },
    {
      path: 'pages/transactionDetail',
      config: {
        navigationBarTitleText: '订单详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-cell-group": "../static/wux/cell-group/index",
          "wux-spin": "../static/wux/spin/index"
        }
      }
    },
    {
      path: 'pages/help',
      config: {
        navigationBarTitleText: '常见问题',
        navigationBarBackgroundColor: "#f2f2f2"
      }
    },
    {
      path: 'pages/about',
      config: {
        navigationBarTitleText: '联系我们',
        navigationBarBackgroundColor: "#f2f2f2"
      }
    },
    {
      path: 'pages/paymentComplete',
      config: {
        navigationBarTitleText: '支付结果',
        navigationBarBackgroundColor: "#f2f2f2"
      }
    },
    {
      path: 'pages/shopList',
      config: {
        navigationBarTitleText: '酒店选择',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-cell-group": "../static/wux/cell-group/index",
          "wux-cell": "../static/wux/cell/index",
          "wux-spin": "../static/wux/spin/index"
        }
      }
    },
    {
      path: 'pages/productList',
      config: {
        navigationBarTitleText: '商品列表',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-search-bar": "../static/wux/search-bar/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-tag": "../static/wux/tag/index",
          "wux-refresher": "../static/wux/refresher/index"
        }
      }
    },
    {
      path: 'pages/borrowList',
      config: {
        navigationBarTitleText: '会员服务',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-search-bar": "../static/wux/search-bar/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-tag": "../static/wux/tag/index",
          "wux-refresher": "../static/wux/refresher/index"
        }
      }
    },
    {
      path: 'pages/roomList',
      config: {
        navigationBarTitleText: '客房列表',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-search-bar": "../static/wux/search-bar/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-refresher": "../static/wux/refresher/index",
          "wux-tabs": "../static/wux/tabs/index",
          "wux-tab": "../static/wux/tab/index"
        }
      }
    },
    {
      path: 'pages/myLeaseList',
      config: {
        navigationBarTitleText: '我的租赁订单',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-spin": "../static/wux/spin/index",
          "wux-refresher": "../static/wux/refresher/index",
          "wux-tabs": "../static/wux/tabs/index",
          "wux-tab": "../static/wux/tab/index",
          "wux-button": "../static/wux/button/index"
        }
      }
    },
    {
      path: 'pages/myLeaseDetail',
      config: {
        navigationBarTitleText: '租赁订单详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-spin": "../static/wux/spin/index",
          "wux-card": "../static/wux/card/index",
          "wux-wing-blank": "../static/wux/wing-blank/index",
          "wux-button": "../static/wux/button/index"
        }
      }
    },
    {
      path: 'pages/result',
      config: {
        navigationBarTitleText: '支付结果',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-result": "../static/wux/result/index"
        }
      }
    },
    {
      path: 'pages/roomGoodsList',
      config: {
        navigationBarTitleText: '客房商品列表',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-search-bar": "../static/wux/search-bar/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-refresher": "../static/wux/refresher/index",
          "wux-tabs": "../static/wux/tabs/index",
          "wux-tab": "../static/wux/tab/index"
        }
      }
    },
    {
      path: 'pages/login',
      config: {
        navigationBarTitleText: '用户登录',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-button": "../static/wux/button/index"
        }
      }
    },
    {
      path: 'pages/transaction',
      config: {
        navigationBarTitleText: '交易明细',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-segmented-control": "../static/wux/segmented-control/index",
          "wux-date-picker": "../static/wux/date-picker/index",
          "wux-cell-group": "../static/wux/cell-group/index",
          "wux-cell": "../static/wux/cell/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-button": "../static/wux/button/index"
        }
      }
    },
    {
      path: 'pages/classify',
      config: {
        navigationBarTitleText: '商品分类',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-search-bar": "../static/wux/search-bar/index",
          "wux-spin": "../static/wux/spin/index"
        }
      }
    }, {
      path: 'pages/shoppingCart',
      config: {
        navigationBarTitleText: '购物车',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-selectable": "../static/wux/selectable/index",
          "wux-cell-group": "../static/wux/cell-group/index",
          "wux-cell": "../static/wux/cell/index",
          "wux-swipe-action-group": "../static/wux/swipe-action-group/index",
          "wux-swipe-action": "../static/wux/swipe-action/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-icon": "../static/wux/icon/index"
        }
      }
    }, {
      path: 'pages/SubmitOrder',
      config: {
        navigationBarTitleText: '提交订单',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-toptips": "../static/wux/toptips/index",
          "wux-cell-group": "../static/wux/cell-group/index",
          "wux-cell": "../static/wux/cell/index",
          "wux-input": "../static/wux/input/index",
          "wux-spin": "../static/wux/spin/index"
        }
      }
    }, {
      path: 'pages/productDetails',
      config: {
        navigationBarTitleText: '商品详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-icon": "../static/wux/icon/index",
          "wux-button": "../static/wux/button/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-spin": "../static/wux/spin/index"
        }
      }
    }, {
      path: 'pages/leaseDetails',
      config: {
        navigationBarTitleText: '租赁商品详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-icon": "../static/wux/icon/index",
          "wux-button": "../static/wux/button/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-spin": "../static/wux/spin/index"
        }
      }
    }, {
      path: 'pages/roomDetails',
      config: {
        navigationBarTitleText: '客房详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-icon": "../static/wux/icon/index",
          "wux-button": "../static/wux/button/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-backdrop": "../static/wux/backdrop/index"
        }
      }
    }, {
      path: 'pages/roomGoodsDetails',
      config: {
        navigationBarTitleText: '客房商品详情',
        navigationBarBackgroundColor: "#f2f2f2",
        usingComponents: {
          "wux-icon": "../static/wux/icon/index",
          "wux-button": "../static/wux/button/index",
          "wux-toptips": "../static/wux/toptips/index",
          "wux-spin": "../static/wux/spin/index",
          "wux-backdrop": "../static/wux/backdrop/index"
        }
      }
    }
  ],
  permission: {
    "scope.userLocation": {
      "desc": "你的位置信息将用于小程序位置接口的效果展示" // 高速公路行驶持续后台定位
    }
  },
  window: {
    // navigationStyle: "custom"
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#999',
    backgroundColor: '#fafafa',
    selectedColor: '#333',
    borderStyle: 'white',
    list: [{
      text: '首页',
      pagePath: 'pages/index',
      iconPath: 'static/tabs/main.png',
      selectedIconPath: 'static/tabs/main-active.png'
    }, {
      text: '分类',
      pagePath: 'pages/classify',
      iconPath: 'static/tabs/classify.png',
      selectedIconPath: 'static/tabs/classify-active.png'
    }, {
      text: '购物车',
      pagePath: 'pages/shoppingCart',
      iconPath: 'static/tabs/cart.png',
      selectedIconPath: 'static/tabs/cart-active.png'
    }, {
      text: '个人',
      pagePath: 'pages/center',
      iconPath: 'static/tabs/center.png',
      selectedIconPath: 'static/tabs/center-active.png'
    }],
    position: 'bottom'
  }
}
